
$NormalColor: #5f9c18;
$ActiveColor: #75ae32;
$HoverColor: #4d830f;
$defaultFontFamily: "Microsoft YaHei", "SimHei", "Arial Unicode MS";


$menuHeight:50px;

$locationHeight:35px;
$locationBackgroundColor:#f8f8f8;


$searchbarHeight:70px;
$searchbarColor:#FFF;


$leftContainerWidth:220px;
$centerContainerWidth:750px;
$rightContainerWidth:230px;


.location-hd{
    width: 100%;
    height: $locationHeight;
    background:$locationBackgroundColor;
}
.site-location{
    height: $locationHeight;
    line-height: $locationHeight;
    padding-left:20px;
    color:$ActiveColor;
    font-weight: bold;
    span{
        color:#333;
        font-weight: normal;
        padding-left:5px;
    }
}



.searchbar{
    width: 100%;
    height: $searchbarHeight;
    background:$searchbarColor;
    border-bottom:1px solid rgba(0,0,0,.1);
    border-top:1px solid rgba(0,0,0,.1);
    img{
        width: $leftContainerWidth;
        overflow: hidden;
        height: auto;
        float: left;
    }
    .search{
        width: $centerContainerWidth;
        padding-left:10px;
        float: left;
        position:relative;
        font-size: 16px;
        line-height: 34px;
        margin-top:16px;
        input{
            padding:2px 5px;
            width: 530px;
            height: 34px;
            background-color: #fff;
            background-image: none;
            border: 1px solid #ddd;
            padding-left:105px;
            padding-right:115px;
            border-radius:3px;
            font-size: 16px;
            &:focus {
                border-color: $buttonSuccessFocusColor;
                box-shadow: none;
                outline: 0;
            }
        }
        span,button{
            position:absolute;
            display: block;
            top: 0;
        }
        span{
            width: 100px;
            border-right:1px solid #ddd;
            text-align: center;
            line-height: 38px;
            height: 38px;
            top: 1px;
            left: 10px;
            color:rgba(0,0,0,.4);
        }
        button{
            font-family: $defaultFontFamily;
            font-size: 16px;
            width: 113px;
            border-right:1px solid #ddd;
            text-align: center;
            height: 40px;
            right: -2px;
            border-top-left-radius:0px;
            border-bottom-left-radius:0px;

        }
    }
}


.navbar-menu {
    width: 100%;
    height: $menuHeight;
    background-color: $NormalColor;
	position:relative;
    font-size: 16px;
    .service-list{
        float: left;
        width: $leftContainerWidth;
        text-align: left;
        background: $ActiveColor;
        height: $menuHeight;
        h1 {
            margin:0;
            color:#FFF;
            font-size: 16px;
            display: block;
            float: left;
            font-weight: normal;
            line-height: $menuHeight;
        }
        i{
            color:#FFF;
            display: block;
            padding:0 5px 0 20px;
            float: left;
            line-height: $menuHeight;
            font-size: 20px;
        }
    }
    
    ul{
    	float: left;
    	li{
    		float: left;
    		line-height: $menuHeight;
    		display: block;
    	}
    	a{
    		padding:0 20px;
    		height: $menuHeight;
    		color: #FFF;
    		display: block;
            cursor: pointer;
    		&.active{
    			background-color: $ActiveColor;
    		}
    		&:hover,&:active,&:visited,&:link{
    			text-decoration: none;
    		}
            &:hover{
                 background-color:$HoverColor;
            }
    	}
    }
}